package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 *出入库记录表
 * @author zhangli
 * @date 2016年4月1日 上午9:58:41
 */
@TableMapperAnnotation(tableName = "d_goods_stock_record", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class GoodsProStockRecord extends Domain{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1166804271459392710L;
	/**
	 * 
	 */
	@FieldMapperAnnotation 
	Integer id;
	/**
	 * 产品id
	 */
	@FieldMapperAnnotation 
	Integer goodsProId;
	/**
	 * 用户id
	 */
	@FieldMapperAnnotation 
	Integer userId;
	
	@FieldMapperAnnotation 
	Long createTime;
	
	@FieldMapperAnnotation 
	Long modifyTime;
	/**
	 * 出入库数量
	 */
	@FieldMapperAnnotation 
	Integer amount;
	
	/**
	 * 是否已发布
	 */
	@FieldMapperAnnotation 
	Integer isdeploy;
	
	@FieldMapperAnnotation 
	Integer sum;
	
	
	public Integer getSum() {
		return sum;
	}

	public void setSum(Integer sum) {
		this.sum = sum;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGoodsProId() {
		return goodsProId;
	}

	public void setGoodsProId(Integer goodsProId) {
		this.goodsProId = goodsProId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getIsdeploy() {
		return isdeploy;
	}

	public void setIsdeploy(Integer isdeploy) {
		this.isdeploy = isdeploy;
	}

	
	
	

}
